﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MinCompression.aspx.cs"
    Inherits="ASPNETPerformance._02_JsAndCss.MinCompression" MasterPageFile="~/Site.master" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h2>
        Min压缩Javascript与CSS</h2>
    <p>
        下面的示例是CSS压缩与未压缩的比较版</p>
    <p>
        <b>～/_assets/css/CustomStyles.css文件的内容 (总共 BYTES:
            <asp:Label ID="lblBytesInCSSContent" runat="server"></asp:Label>)</b><br />
        <asp:TextBox ID="txtBytesInCSSContent" TextMode="MultiLine" Rows="10" Width="95%"
            runat="server"></asp:TextBox>
    </p>
    <p>
        <b>YuiCompressor压缩后的～/_assets/css/CustomStyles.css文件的内容 (总共 BYTES:
            <asp:Label ID="lblBytesInCSSContentByCompressor" runat="server"></asp:Label>)</b><br />
        <asp:TextBox ID="txtBytesInCSSContentByCompressor" TextMode="MultiLine" Rows="10"
            Width="95%" runat="server"></asp:TextBox>
    </p>
    <hr />
    <p>
        下面的示例是Javascript压缩与未压缩的比较版</p>
    <p>
        <b>～/_assets/js/public.js文件的内容 (总共 BYTES:
            <asp:Label ID="lblBytesInJavascriptContent" runat="server"></asp:Label>)</b><br />
        <asp:TextBox ID="txtBytesInJavascriptContent" TextMode="MultiLine" Rows="10" Width="95%"
            runat="server"></asp:TextBox>
    </p>
    <p>
        <b>YuiCompressor压缩后的～/_assets/js/public.js文件的内容 (总共 BYTES:
            <asp:Label ID="lblBytesInJavascriptContentByCompressor" runat="server"></asp:Label>)</b><br />
        <asp:TextBox ID="txtBytesInJavascriptContentByCompressor" TextMode="MultiLine" Rows="10"
            Width="95%" runat="server"></asp:TextBox>
    </p>
</asp:Content>
